const org = {
  create: 'POST /api/v1/sys/org',
  update: 'PUT /api/v1/sys/org',
  queryOrgType: 'GET /api/v1/sys/org/struct',
  queryOrgTree: 'GET /api/v1/sys/org/tree',
  delete: 'DELETE /api/v1/sys/org/{id}',
  queryOrgInfo: 'GET /api/v1/sys/org/{id}',
  checkName: 'GET /api/v1/sys/org/{rootId}/{parentId}/{id}/name',
  checkShortName: 'GET /api/v1/sys/org/{rootId}/{parentId}/{id}/shortName',
  checkCode: 'GET /api/v1/sys/org/{rootId}/{id}/code',
  queryOrgUsers: 'GET /api/v1/sys/org/{id}/users',
  queryOrgAllUsers: 'GET /api/v1/sys/org/{id}/all/users',
};

export default org;
